<script>
var Html = {
	element: document.documentElement,
	open: function(tag) {
		this.element = this.element.appendChild(document.createElement(tag));
		return this;
	},
	close: function() {
		this.element = this.element.parentNode;
		return this;
	},
	text: function(data) {
		this.element.appendChild(document.createTextNode(data));
		return this;
	},
	attr: function(name, value) {
		this.element.setAttribute(name, value);
		return this;
	},
}

</script>

<script src="out.js"></script>




